
public class ObjectWrapper implements FunctionInterface {
    Object value = null;

    public ObjectWrapper(Object o) {
        value = o;
    }

    public ObjectWrapper() {
        value = Integer.valueOf(0);
    }

    @Override
    public Object getValue() {
        return value;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public FunctionInterface run() {
        return this;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void add(Object f) {
        return;
    }
}


